click

abstract fun click()

Simulates a click on the extension action icon.

If the extension action has a popup configured, the OpenExtensionActionPopupCallback is invoked to allow you to embed the popup into a window. Otherwise, if the action does not have a popup, the action.onClicked event is dispatched to the action.

Throws

when the extension is uninstalled or the associated browser is closed

when the extension action is disabled